package it.sebsibenal.server.dao.impl;

import it.sebsibenal.server.dao.UserAccessDAO;
import it.sebsibenal.shared.UserAccess;

import java.util.List;

public class DatastoreUserAccessDAO extends AbstractDatastoreDAO<UserAccess> implements UserAccessDAO {

	public DatastoreUserAccessDAO() {
		super(UserAccess.class);
	}

	@Override
	public List<UserAccess> findAll() {
		return findAllWithOrderBy("-timestamp");
	}

}
